<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
    name: 'App',
    mounted () {
        window.addEventListener('unload', this.saveState)
    },
    methods: {
        saveState () {
            sessionStorage.setItem('state', JSON.stringify(this.$store.state))
        }
    }   
}
</script>

<style>
body{margin: 0 auto;}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
li {list-style: none;}
#page_logo{
    max-width: 130px;
}
</style>
